package com.haibara.codesubmiteval.judge.service;

import com.haibara.codesubmiteval.judge.model.ExecuteCodeRespond;

public interface JudgeService {

    /**
     * 判题
     */
    void doJudge(ExecuteCodeRespond ecr);

    /**
     * 包装题目提交请求，并发送信息至Kafka，请求调用代码沙箱执行代码
     *
     * @param questionSubmitId 题目提交id
     */
    void submitToCodeSandBox(Long questionSubmitId);
}
